export type detailType = 'text' | 'image' | 'imageList' | 'slot' | 'file'
export interface detailConfigType {
    detailType: detailType,
    key: string,
    slotName?: string,
    label?: string,
    func: (key: string, data: any) => string
}

export interface configDetailType {
    detailConfig: Array<detailConfigType[]>,
    detailData: any
    labelWidth: string
    labelStyle?: Partial<CSSStyleDeclaration>,
    model: string
}

export interface detailItemType {
    label?: string,
    text?: string,
    labelWidth?: string,
    span?: number,
    imgUrl?: string,
    imgUrlList?: string[],
    detailType: detailType,
    labelStyle?: Partial<CSSStyleDeclaration>,
}